Component({
  properties: {
    type: {
      type: String,
      value: ''
    }
  },
  data: {},
  methods: {
    selectedType(e) {
      const {
        type
      } = e.currentTarget.dataset
      this.triggerEvent('updateValue', {
        type
      })
    },
  }
})